package com.shycloud.mido.member.api.util;

/**
 * 常量类
 *
 * @author nianhua.jiang
 * @date 2020/7/8 13:40
 */
public class Constant {

	/** 逻辑删除 */
	public static final String DEL_FLAG = "0";
	public static final String DEL_FLAG_DELETE = "1";
	/** VIP 会员 */
	public static final String VIP_MEMBER = "VIP_MEMBER";

	/** 支付方式——支付宝 */
	public static final String PAY_ALI = "1";
	/** 支付宝参数—— TRADE_SUCCESS */
	public static final String ALI_PAYPARAM_SUCCESS = "TRADE_SUCCESS";
	/** 支付宝参数—— succerss */
	public static final String ALI_PAYPARAM_TRUE = "success";
	/** 支付宝参数—— failure */
	public static final String ALI_PAYPARAM_FALSE = "failure";

	/** 支付方式——微信 */
	public static final String PAY_WX = "2";
	/** 微信支付参数——商户订单号 */
	public static final String WX_PAYPARAM_OUT_TRADE_NO = "out_trade_no";
	/** 微信支付-流水号 */
	public static final String WX_TRANSACTION_ID = "transaction_id";
	/** 微信支付参数 —— wxPay */
	public static final String WX_PAYPARAM_WXPAY = "wxPay";
	/** 微信支付参数 —— succerss */
	public static final String WX_PAYPARAM_SUCCESS = "SUCCESS";
	/** 微信支付参数 —— return_code */
	public static final String WX_PAYPARAM_RETURNCODE = "return_code";
	/** 微信支付 —— 回调XML */
	public static final String WX_RETURN_CODE =
			"<xml>" + "<return_code><![CDATA[SUCCESS]]></return_code>" + "<return_msg><![CDATA[OK]]></return_msg>" + "</xml>";

	/** 订单状态——待支付 */
	public static final String ORDER_STATUS_TOPAY = "0";
	/** 订单状态——已支付 */
	public static final String ORDER_STATUS_PAID = "1";
	/** 订单状态——支付失败 */
	public static final String ORDER_STATUS_PAYFAIL = "2";
	/** 订单状态——订单过期 */
	public static final String ORDER_STATUS_OVERDUE = "3";
	/** 订单状态--分账失败 */
	public static final String ORDER_STATUS_ROYALTY_FAIL = "4";
	/** 订单状态--回调业务处理失败（支付成功但是业务代码报错，需要联系客服处理） */
	public static final String ORDER_STATUS_SYSTEM_FAIL = "5";

	/** 用户类型——所有 */
	public static final String MEMBER_TYPE_ALL = "10";
	/** 用户类型——普通会员 */
	public static final String MEMBER_TYPE_JUNIOR = "20";
	/** 用户类型——高级会员 */
	public static final String MEMBER_TYPE_SENIOR = "30";
	/** 用户类型——平台教师 */
	public static final String MEMBER_TYPE_TEACHER = "40";
	/** 用户类型——机构教师 */
	public static final String MEMBER_TYPE_ORGAN_TEACHER = "50";
	/** 用户类型——机构用户 */
	public static final String MEMBER_TYPE_ORGAN = "60";
	/** 用户类型——纠错大师 */
	public static final String MEMBER_TYPE_MASTER = "70";

	/** 机构认证教师 */
	public static final String ORGAN_TEACHER = "1";
	/** code */
	public static final String CONDE = "code";

	/** 会员赠送机制 */
	public static final String ACTIVE_OPEN = "1";
	/** IOS内购类别 */
	public static final String IOS_PRICE = "0";

	/** 微信回调地址 */
	public static final String WX_NOTIFY_URL = "http://api.joymido.com/member/pay/wxNotify";

	public static final String WX_NOTIFY_URL_TEST = "http://flxp6xpc.xiaomy.net/member/pay/wxNotify";

	public static final String WX_NOTIFY_URL_TEST_184 = "http://a99zg89a.xiaomy.net/member/pay/wxNotify";

	/** 微信购买VIP的回调地址 */
	public static final String WX_NOTIFY_VIP_URL = "http://api.joymido.com/member/pay/wxNotifyVip";

	/** 支付宝购买虚拟币回调地址 */
	public static final String ALI_NOTIFY_URL = "http://api.joymido.com/member/pay/aliNotify";

	public static final String ALI_NOTIFY_URL_TEST = "http://flxp6xpc.xiaomy.net/member/pay/aliNotify";

	public static final String ALI_NOTIFY_URL_TEST_184 = "http://a99zg89a.xiaomy.net/member/pay/aliNotify";
	/** 支付宝购买VIP回调地址 */
	public static final String ALI_NOTIFY_VIP_URL = "http://api.joymido.com/member/pay/aliNotifyVip";

	/** 会员过期站 PUSH */
	public static final String MAIL_MEMBER_WILLTIMEOUT_PUSH = "亲爱的{0}用户您的{1}将于{2}到期，为不影响练琴计划，请及时续费哦！";

	/** 会员过期站 PUSH */
	public static final String MAIL_MEMBER_TIMEOUT_MAIL = "亲爱的{0}用户您的{1}已经过期，无法继续享受会员权限，请及时续费哦！";

	/** 教师通过审核 */
	public static final String MAIL_TEACHER_APPLY = "亲爱的老师！您的工作室申请，已经通过，如果有任何操作问题，可通过 “我的”——“帮助中心” 了解，或者拨打客服热线4000123485咨询";

	/** 教师通过审核的推送 title */
	public static final String MAIL_TEACHER_APPLY_TITLE = "工作室申请已通过！！！";

	/** 支付方式——IOS内购 */
	public static final String PAY_IOS = "3";
	/** ATV_MEDIA bucket */
	public static final String BUCKET_ATV_MEDIA = "zebra-atv-media";
	public static final String BUCKET_IMAGE_PRE = "image_";
	public static final String BUCKET_VIDEO_PRE = "video_";
	public static final String BUCKET_QRCODE_PRE = "qrcode_";
	public static final String BUCKET_QRCODE_ATTEND_PRE = "qrcode_attend_";
	public static final String BUCKET_POSTER_PRE = "poster_";

	/** 天天帮被分配 1 总部 */
	public static final String ASSIST_SUBJECT_MASTER = "1";
	/** 天天帮被分配 2 代理商 */
	public static final String ASSIST_SUBJECT_OPT = "2";
	/** 天天帮被分配 3 机构 */
	public static final String ASSIST_SUBJECT_ORG = "3";
	/** 天天帮被分配 4 工作室 */
	public static final String ASSIST_SUBJECT_STUDIO = "4";
	/** 天天帮被分配 5 老师 */
	public static final String ASSIST_SUBJECT_TEACHER = "5";
	/** 天天帮被分配 6 学生 */
	public static final String ASSIST_SUBJECT_STUDENT = "6";

	/** 天天帮 分类类型 1 增加 */
	public static final String ASSIST_TYPE_PLUS = "1";
	/** 天天帮 分类类型 2 减少 */
	public static final String ASSIST_TYPE_MINUS = "2";

}
